projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9c8d98
)
(XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC).
author
Chong Yidong
<cyd@stupidchicken.com>
Sat, 12 May 2007 23:35:31 +0000
(23:35 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Sat, 12 May 2007 23:35:31 +0000
(23:35 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 4f77e22ac59730d926aee6baf5508fe42677491a..9adb2b2c259b830c837ad0322ac7dd881251b5c4 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-7065,6
+7065,7
@@
XTread_socket (sd, expected, hold_quit)
#endif
#ifndef USE_GTK
+ x_catch_errors (dpyinfo->display);
while (XPending (dpyinfo->display))
{
int finish;
@@
-7083,6
+7084,7
@@
XTread_socket (sd, expected, hold_quit)
if (finish == X_EVENT_GOTO_OUT)
goto out;
}
+ x_uncatch_errors ();
#endif /* not USE_GTK */
}